using STHPMS1.DAL.D_Dao;
using STHPMS1.ICore.I_Common;
using STHPMS1.ICore.I_DAL;
using STHPMS1.Common.C_Extension;
using STHPMS1.DAL.D_Repository;
using STHPMS1.ICore.I_DAL.Repository;

namespace STHPMS1.DAL.D_Core
{
	/// <summary>
	/// 数据层对象创建工厂
	/// </summary>
	public class DalFactory : SingleBase, IDalFactory
	{
		#region Repository
        protected override void OnDispose()
        {
            base.OnDispose();
        }
		#endregion


        #region Sthpms1 数据库
        private Sthpms1Dao _dao;
        public ISthpms1Dao GetSthpms1Dao(bool isopen = true)
        {
            if (_dao == null)
            {
                _dao = new Sthpms1Dao(isopen);
            }
            return _dao;
	
        }
        #endregion


        #region TestRepository
        public ITestRepository GetTestRepository ()
		{
			return Get<TestRepository> ();
		}
        
        public IT_RdpciRepository GetT_RdpciRepository()
        {
            return Get<T_RdpciRepository>();
        }
        #endregion


        public IB_InvntoryRepository GetB_InvntoryRepository()
        {
            return Get<B_InvntoryRepository>();
        }
        public IB_RoadwayRepository GetB_RoadwayRepository()
        {
            return Get<B_RoadwayRepository>();
        }
        public IB_PmstcRepository GetB_PmstcRepository()
        {
            return Get<B_PmstcRepository>();
        }
        public IB_RdstandardRepository GetB_RdstandardRepository()
        {
            return Get<B_RdstandardRepository>();
        }
        public IB_SturctureRepository GetB_SturctureRepository()
        {
            return Get<B_SturctureRepository>();
        }
        public IB_UnitRepository GetB_UnitRepository()
        {
            return Get<B_UnitRepository>();
        }
        public IE_EvaluRepository GetE_EvaluRepository()
        {
            return Get<E_EvaluRepository>();
        }
        public IE_NetevaluRepository GetE_NetevaluRepository()
        {
            return Get<E_NetevaluRepository>();
        }
        public IE_RoadwaydetailRepository GetE_RoadwaydetailRepository()
        {
            return Get<E_RoadwaydetailRepository>();
        }

        public IE_SegevaluRepository GetE_SegevaluRepository()
        {
            return Get<E_SegevaluRepository>();
        }
        public IS_AxleloadRepository GetS_AxleloadRepository()
        {
            return Get<S_AxleloadRepository>();
        }
        public IS_BtstrutRepository GetS_BtstrutRepository()
        {
            return Get<S_BtstrutRepository>();
        }
        public IS_InspeaccseRepository GetS_InspeaccseRepository()
        {
            return Get<S_InspeaccseRepository>();
        }
        public IS_Pmds_AspRepository GetS_Pmds_AspRepository()
        {
            return Get<S_Pmds_AspRepository>();
        }
        public IS_Pmds_CemRepository GetS_Pmds_CemRepository()
        {
            return Get<S_Pmds_CemRepository>();
        }
        public IS_Pmds_SRepository GetS_Pmds_SRepository()
        {
            return Get<S_Pmds_SRepository>();
        }
        public IS_RdcarRepository GetS_RdcarRepository()
        {
            return Get<S_RdcarRepository>();
        }
        public IS_RddfRepository GetS_RddfRepository()
        {
            return Get<S_RddfRepository>();
        }
        public IS_RdfrcRepository GetS_RdfrcRepository()
        {
            return Get<S_RdfrcRepository>();
        }
        public IS_RdfwdRepository GetS_RdfwdRepository()
        {
            return Get<S_RdfwdRepository>();
        }
        public IS_RdpssiRepository GetS_RdpssiRepository()
        {
            return Get<S_RdpssiRepository>();
        }
        public IS_RdrghRepository GetS_RdrghRepository()
        {
            return Get<S_RdrghRepository>();
        }
        public IS_RuttingRepository GetS_RuttingRepository()
        {
            return Get<S_RuttingRepository>();
        }
        public IS_Apply GetS_ApplyRepository()
        {
            return Get<S_ApplyRepository>();
        }
        public IS_SubgrdRepository GetS_SubgrdRepository()
        {
            return Get<S_SubgrdRepository>();
        }
        public IS_TrfvolsurveyRepository GetS_TrfvolsurveyRepository()
        {
            return Get<S_TrfvolsurveyRepository>();
        }


        public IExcelRepository GetExcelRepository()
        {
            return Get<ExcelRepository>();
        }
        public IDm_HistperfRepository GetDm_HistperfRepository()
        {
            return Get<Dm_HistperfRepository>();
        }
        public IDm_ModelgroupRepository GetDm_ModelgroupRepository()
        {
            return Get<Dm_ModelgroupRepository>();
        }
        public IDn_Divi_ResultRepository GetDn_Divi_ResultRepository()
        {
            return Get<Dn_Divi_ResultRepository>();
        }
        public IDn_Diy_IndexRepository GetDn_Diy_IndexRepository()
        {
            return Get<Dn_Diy_IndexRepository>();
        }
        public IDn_Fwd_WayRepository GetDn_Fwd_WayRepository()
        {
            return Get<Dn_Fwd_WayRepository>();
        }
        public IDn_Huamei_WayRepository GetDn_Huamei_WayRepository()
        {
            return Get<Dn_Huamei_WayRepository>();
        }
        public IDn_Oldraod_WayRepository GetDn_Oldraod_WayRepository()
        {
            return Get<Dn_Oldraod_WayRepository>();
        }
        public IDn_Stand_WanRepository GetDn_Stand_WanRepository()
        {
            return Get<Dn_Stand_WanRepository>();
        }
        public IDn_Traffic_WayRepository GetDn_Traffic_WayRepository()
        {
            return Get<Dn_Traffic_WayRepository>();
        }
        public IDn_Divi_PlanningRepository GetDn_Divi_PlanningRepository()
        {
            return Get<Dn_Divi_PlanningRepository>();
        }
        public IDp_CostbenefitRepository GetDp_CostbenefitRepository()
        {
            return Get<Dp_CostbenefitRepository>();
        }
        public IDp_Infect_CoeRepository GetDp_Infect_CoeRepository()
        {
            return Get<Dp_Infect_CoeRepository>();
        }
        public IDp_Infect_ValueRepository GetDp_Infect_ValueRepository()
        {
            return Get<Dp_Infect_ValueRepository>();
        }
        public IDp_Prevemeas_IniRepository GetDp_Prevemeas_IniRepository()
        {
            return Get<Dp_Prevemeas_IniRepository>();
        }
        public IDp_Prevemeas_SecRepository GetDp_Prevemeas_SecRepository()
        {
            return Get<Dp_Prevemeas_SecRepository>();
        }
        public IDp_Preven_MeaintRepository GetDp_Preven_MeaintRepository()
        {
            return Get<Dp_Preven_MeaintRepository>();
        }
        public IDp_Preven_MeasecRepository GetDp_Preven_MeasecRepository()
        {
            return Get<Dp_Preven_MeasecRepository>();
        }
        public IDp_Preven_PlanRepository GetDp_Preven_PlanRepository()
        {
            return Get<Dp_Preven_PlanRepository>();
        }
        public IDp_Proj_RecomRepository GetDp_Proj_RecomRepository()
        {
            return Get<Dp_Proj_RecomRepository>();
        }
        public IDp_Sejud_CalcuRepository GetDp_Sejud_CalcuRepository()
        {
            return Get<Dp_Sejud_CalcuRepository>();
        }
        public IDp_Preventive_ModelRepository GetDp_Preventive_ModelRepository()
        {
            return Get<Dp_Preventive_ModelRepository>();
        }
        public IDm_TrafaxleRepository GetDm_TrafaxleRepository()
        {
            return Get<Dm_TrafaxleRepository>();
        }
        public IDp_Preven_DetailRepository GetDp_Preven_DetailRepository()
        {
            return Get<Dp_Preven_DetailRepository>();
        }
        public IDf_Dailymian_CostRepository GetDf_Dailymian_CostRepository()
        {
            return Get<Df_Dailymian_CostRepository>();
        }
        public IDf_Seclass_ProjRepository GetDf_Seclass_ProjRepository()
        {
            return Get<Df_Seclass_ProjRepository>();
        }
        public IDf_Main_CostRepository GetDf_Main_CostRepository()
        {
            return Get<Df_Main_CostRepository>();
        }
        public IDf_Funlim_ProjRepository GetDf_Funlim_ProjRepository()
        {
            return Get<Df_Funlim_ProjRepository>();
        }
        public IDf_Costmod_ParaRepository GetDf_Costmod_ParaRepository()
        {
            return Get<Df_Costmod_ParaRepository>();
        }
        public IB_RoadnetRepository GetB_RoadnetRepository()
        {
            return Get<B_RoadnetRepository>();
        }
        public IDp_Dailymain_CostRepository GetDp_Dailymain_CostRepository()
        {
            return Get<Dp_Dailymain_CostRepository>();
        }
        public IDf_Full_OrderRepository GetDf_Full_OrderRepository()
        {
            return Get<Df_Full_OrderRepository>();
        }


        public IB_HistoryRepository GetB_HistoryRepository()
        {
            return Get<B_HistoryRepository>();
        }

        public IDr_Repair_LarRepository GetDr_Repair_LarRepository()
        {
            return Get<Dr_Repair_LarRepository>();
        }
        public IDr_Repair_MidRepository GetDr_Repair_MidRepository()
        {
            return Get<Dr_Repair_MidRepository>();
        }
    }
}
